#pragma once

class MyThread
{
public:
    MyThread();
    ~MyThread();

    void Stop();
    void Wait();

private:
    HANDLE m_thread;
    HANDLE m_mutex;
};
